<div id="editCollectTitle"><img src="/assets/img/login_box/upload_idea_title.png" width="190" height="30" /></div>
        <div class="btnCloseEdit"><a href="#">關閉登入視窗</a></div>
        <form id="uploadImageForm" name="uploadImageForm" action="/collect/uploadIdea" method="post">
        <div id="enterForm">
            <div id="uploadGuideline">
                <p>1.請勿發表 廣告文 / 違反善良風俗之圖片</p>
                <p>2.發文請在內文中註明圖片出處</p>
                <p>3.有相關未盡之處，以<a href="/houseme/terms" target="_blank">服務條款</a>內容為準。</p>
            </div>
        	<div class="categoryCollect">
        		<label for="ideaCategory">類別</label>
                <div id="ideaCategory"><?php echo (isset($post_category) && !empty($post_category))?$post_category:'我想把這 idea 分享在...'; ?></div>
                <input type="hidden" name="post_category" id="post_category" value="<?php echo (isset($post_category) && !empty($post_category))?$post_category:''; ?>"/>
                <span id="dropdown_arrow"></span>
            </div>
            <div id="ideaCategoryWrapper">
                <!--<div id="ideaCategoryCreate"><input id="newCategory" type="text" placeholder="新增俬迷本"/><div id="createNewCategoryButton"><span class="buttonText"><新增</span></div></div>-->
                <ul id="ideaCategoryList">
                    <?php
                        if(!empty($category)){
                            foreach ($category as $key => $value) {
                                echo '<li>'.$value.'</li>';
                            }
                        }
                    ?>
                </ul>
            </div>
            <div class="uploadIdeaInputField">
                <label for="uploadIdeaExcerpt">標題<span class="form_errors"><?php echo form_error('post_excerpt'); ?><?php echo isset($errors['post_excerpt'])?'<p>'.$errors['post_excerpt'].'</p>':''; ?></span></label><input type="text" value="<?php echo (set_value('post_excerpt'))?set_value('post_excerpt'):''; ?>" placeholder="" name="post_excerpt" id="uploadIdeaExcerpt">
                
            </div>
            <div class="uploadIdeaTextareaField">
                <label for="uploadIdeaDesc">描述<span class="form_errors"><?php echo form_error('post_desc'); ?><?php echo isset($errors['post_desc'])?'<p>'.$errors['post_desc'].'</p>':''; ?></span></label><textarea class="inputMFtextBig" value="" placeholder="" name="post_desc" id="uploadIdeaDesc"><?php echo (set_value('post_desc'))?set_value('post_desc'):''; ?></textarea>

            </div>
            <div id="uploadImageZone">
            	<div class="uploadIdeaImageField">
	                <label for="uploadIdeaImage">圖片<a href="javascript:;" onclick="newUploadImage();return false;"> [新增]</a></label>
	                <div class="uploadIdeaImage"><input type="file" value="" placeholder="" name="upload_image[]" accept="image/*" capture="camera" /><span style="float: right; display: inline-block; margin-top: -22px;"><a href="javascript:;" onclick="deleteUploadImage(this);return false;">[刪除]</a></span></div>
            	</div>
            </div>
            <div class="uploadIdeaInputField">
            	<div class="upload_idea_btn_cancel"><a href="#">取消</a></div>
            	<div class="upload_idea_send"><a href="javascript:;" onclick="confirmBeforeSendShare();">送出</a></div>
            </div>
        </div>
    	</form>
        <br class="clear" />